package com.zhang.bean;

public class Course {
	private int id;
	private String name;
	private int grade;
	private boolean nature;
	private String introduce;
	public int getid() {
		return id;
	}
	public void setid(int id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public int getGrade() {
		return grade;
	}
	public void setGrade(int grade) {
		this.grade = grade;
	}
	public boolean isNature() {
		return nature;
	}
	public void setNature(boolean nature) {
		this.nature = nature;
	}
	public String getIntroduce() {
		return introduce;
	}
	public void setIntroduce(String introduce) {
		this.introduce = introduce;
	}
	public Course(String name, int grade, boolean nature, String introduce) {
		super();
		
		this.name = name;
		this.grade = grade;
		this.nature = nature;
		this.introduce = introduce;
	}
	public Course() {
		super();
		// TODO Auto-generated constructor stub
	}
	@Override
	public String toString() {
		return "Course [cid=" + id + ", name=" + name + ", grade=" + grade + ", nature=" + nature + ", introduce="
				+ introduce + "]";
	}
	
}
